html,body{
    width: 100%;
    height: 100%;
    background-color: #fafafa;
}
img {
    max-width: 100%;
    height: auto;
}
.content-padded{
    padding: 0.2rem 0.5rem 0.5rem 0.5rem;
}
.price{
    color: #fa541c;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 0.2rem 0;
}
.city{
    padding: 1rem 0;
}
.city input{
    background-color: #f2f2f2;
    text-align: center;
    line-height: 2rem;
    border: none;
    width: 100%;
}

.swiper-container {
    width: 100%;
    height: 10rem;
}
.swiper-slide{
    height: 100%;
}
.swiper-container img {
    display: block;
    width: 100%;
    height: 100%;
}
.slide-content{
    position: relative;
    height: 100%;
    display: block;
}
.slide-label{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: space-between;
}
.slide-label .label-name{
    font-size: 0.6rem;
    color: #ffffff;
}
.slide-label .label-price{
    align-self: center;
    color: #fa541c;
    padding: 0 0.5rem;
    font-weight: bold;
}

/*
 *卡片
 */
.m-card{
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px #e8e8e8;
    background-color: #ffffff;
    margin-bottom: 1rem;
    text-align: left;
}
.m-card .card-img{
    width: 100%;
}
.m-card .card-img img{
    width: 100%;
}
.m-card .card-title {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    color: #333333;
}
.m-card .card-footer{
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.7rem;
}
.m-card .card-price{
    color: #fa541c;
    font-size: 0.8rem;
    font-weight: bold;
}
.m-card .card-sell{
    color: #bfbfbf;
    font-size: 0.5rem;
}

/*
 *商品
 */
.m-goods{
    display: flex;
    background-color: #ffffff;
    border-top: 1px solid #f2f2f2;
    padding: 0.2rem 0;
    text-align: left;
}
.m-goods .goods-img{
    padding: 0.25rem 0 0 0.5rem;
}
.m-goods .goods-img img{
    min-width: 5rem;
    max-width: 5rem;
    height: 3rem;
}
.m-goods .goods-body{
    display: flex;
    flex-direction: column;
}
.m-goods .goods-title {
    padding: 0.25rem 0.5rem;
    font-size: 0.6rem;
    color: #333333;

    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.m-goods .goods-footer{
    display: flex;
    justify-content: space-between;
    padding: 0 0.7rem;
}
.m-goods .goods-price{
    color: #fa541c;
    font-size: 0.8rem;
    font-weight: bold;
}
.m-goods .goods-sell{
    color: #bfbfbf;
    font-size: 0.5rem;
}

.sold{
    color: #bfbfbf;
    display: flex;
    justify-content: space-between;
}
.spec-label{
    background-color: #F2F2F2;
    padding: 0.2rem 0.5rem;
    color: #595959;
}
.spec-content{
    padding: 0.5rem;
}
.o-badge{
    background-color: #fa541c;
    padding: 0.2rem 0.3rem;
    color: #ffffff;
    border-radius: 0.2rem;
    font-size: small;
}
/**
列表顶条
 */
.list-label{
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.5rem;
    font-size: 0.7rem;
    background-color: #ffffff;
}
.list-label .list-label-more{
    font-size: 0.6rem;
    color: #bfbfbf;
}

p.no-more{
    text-align: center;
    font-size: 0.7rem;
    display: none;
    margin: 0.5rem 0;
}
.m-badge{
    background-color: #8fd4ee;
    color: #666666;
    padding: 5px 10px;
    margin: 15px 0;
    display: inline-block;
    font-size: 0.7rem;
}
.m-content{
    line-height: 25px;
    color: #666666;
    font-size: 0.7rem;
}

/*
    联系我们
*/
.contact{
    display: flex;
    margin-bottom: 3rem;
}
.contact .barcode{
    flex-grow: 1;
    flex-basis: 30%;
}
.contact .info{
    flex-grow: 4;
    flex-shrink: 0;
    flex-basis: 70%;
    padding: 6px;
    line-height: 25px;
}

/**
通用
 */
.line{
    border: none;
    border-top: 1px solid #f2f2f2;
    margin: 0.5rem 0;
}
.d-line{
    border: none;
    border-top: 1px dashed #f2f2f2;
    margin: 0.5rem 0;
}
.break-line{
    border: none;
    margin: 0;
    margin-left: 10px;
    border-top: 1px solid #f2f2f2;
}
.divide-line{
    border: none;
    margin: 0;
    border-top: 10px solid #f4f4f4;
    padding-bottom: 0.5rem;
}
.f-xs{
    font-size: 0.6rem;
}
.f-sm{
    font-size: 0.7rem;
}
.f-lg{
    font-size: 0.8rem;
}
.flex{
    display: flex;
}
.flex-lr{
    display: flex;
    justify-content: space-between;
}
.box-shadow{
    box-shadow: 0 0 3px 1px #f2f2f2;
}
.text-center{
    text-align: center;
}
.padding{
    padding: 0.5rem;
}
.padding-vertical{
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.padding-horizontal{
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
.margin{
    padding: 0.5rem;
}
.margin-top{
    margin-top: 0.5rem;
}
.margin-right{
    margin-right: 0.5rem;
    box-sizing: border-box;
}
.margin-vertical{
    margin-top: 0.5rem!important;
    margin-bottom: 0.5rem!important;
}
.margin-vertical-lg{
    margin-top: 1rem!important;
    margin-bottom: 1rem!important;
}
.padding-horizontal{
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.m-tab-bar{
    position: fixed;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2.2rem;
    background-color: #ffffff;
    box-shadow:0px -1px 2px #f2f2f2;
}
.weui-navbar__item.weui-bar__item--on{
    color: #1AAD19;
    background-color: #ffffff;
}
.weui-navbar{
    background-color: #ffffff;
    z-index: 5;
}
.weui-navbar__item:after{
    border-right: none;
}
.param{
    padding: 0.5rem;
}
.param .p-title{
    font-weight: bolder;
    padding: 10px 0;
}
.param .p-content{
    padding-left: 0.5rem;
    font-size: 0.6rem;
}